import request from '@/utils/request/base'

// 招商商机列表
export function INVITE_LIST(params,formId) {
    return request({
      url: `attract-investment/business/${formId}`,
      method: 'get',
      params
    })
}

// 查看招商商机跟进记录
export function NOTICE_LIST(attractInvestmentId) {
    return request({
      url: `attract-investment/business/follow-ups/${attractInvestmentId}`,
      method: 'get',
    })
}

// 新增跟进记录
export function UPDATE_NOTICE(data,attractInvestmentId) {
  return request({
    url: `attract-investment/business/follow-up/${attractInvestmentId}`,
    method: 'POST',
    data
  })
}

// 上传文件
export function upload(url,data,headers={}) {
  return request({
    url,
    method: 'post',
    data,
    headers
  })
}
